package com.ruoyi.controller;


import com.ruoyi.common.core.domain.model.LoginUser;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.result.Result;
import com.ruoyi.domain.T06;
import com.ruoyi.domain.T18;
import com.ruoyi.service.IprocessService;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletRequest;
import java.util.List;

import static com.ruoyi.common.utils.PageUtils.startPage;

@RestController
@RequestMapping("/process")
public class processApllyController {
    @Autowired
    private IprocessService processService;

//    @PostMapping("/list")
//    @ApiOperation("获取流程列表")
//    public TableDataInfo list(@RequestBody  T06 t06, HttpServletRequest request){
//        startPage();
//        List<T06> list=  processService.getList(t06, request);
//        return  getDataTable(list);
//    }


    @GetMapping("/test")
    public Result test(){
        return Result.success();
    }
}
